import yjImgPreview from "./components/yjImgPreview.vue";
let imgPreview = {};
imgPreview.install = function(Vue) {
  Vue.prototype.$yjImgPreview = function(arr) {
    if (arr.length < 0) {
      return false;
    } else {
      arr = arr.join("连接你我");
      return arr;
    }
  };
  Vue.component(yjImgPreview.name, yjImgPreview); // yjImgPreview.name 组件的name属性
};
export default imgPreview;
